package day02;

public class Practice {
    public static void main(String[] args) {
        /*
        int a ;
        int b,c,d;
        int e= 10;
        int g = 5;
        int h = g+10;
        int dsahd;//正确的
        int $dsa;//正确的
        int age;//正确的
       // int 10asd$;//错误的,不能以字母开头
        int sum1 = 23;
        int sum2 = 5;
        System.out.println(sum1/sum2);//4
        int sum3 = 1999999999;
        int sum4 = 1999999998;
        System.out.println(sum3+sum4);//-294967299,出现溢出
        long l1 = 122L;
        long l2 = 5L;
        long l3 = 500L*500*5000*50000;//计算时出现溢出需在第一个数后加L
        System.out.println(l3);
        double db1 = 1.25;
        double db2 = 3.1415926;
        double db3 = 1.24;
        double db4 = 3.0;
        double db5 = 2.9;
        double sumc = db4-db5;//发生舍入误差
        double  suma = db1+db3;
        double  sumb = db1+db2;
        System.out.println(sumc);
        boolean bl = true;
        boolean bl1 = false;

        char ch = '男';
        char ch1 = '1';
        char ch2 = 'a';
        char ch3 = '*';
        //char ch4 = '01';报错,只能有一个字符
        char ch4 = '\'';
        char ch5 = '\\';
        char ch6 = '\"';



        double aa= 32;
        int i = (int)32.0;
        int i1 = 2;
        long l = i1;
        long LL =10000000000000L;
        int lo = (int)LL;
        System.out.println(lo);//强转可能发生溢出
        double ddd = 25.25;
        int dd  = (int) ddd;
        System.out.println(dd);//强转可能发生丢失精度



        byte b1 = 2;//声明为byte型变量b1,并赋予直接量
        byte b2 = 3;//声明为byte型变量b2,并赋予直接量
        byte b3 =(byte)( b1+ b2);
        System.out.println(b3);//byte型变量,运算时先转换为int型,所以需要强转为byte型


         */
        /*
     int a = 0;
     int sum=0;
     while (true)
     {
         sum +=a;
         a++;
         if (a > 100)
         {
             break;
         }
     }
        System.out.println(sum);
         */


       int a  = '》';
        //int a = c;
        System.out.println(a);
    }
}
